//
//  ChatGiftCell.h
//  tcpoctest
//
//  Created by apple on 13-6-21.
//  Copyright (c) 2013年 gump. All rights reserved.
//

@interface ChatGiftCell : UITableViewCell
{
    UITapGestureRecognizer      *singleTouch;
}

@property                       int             cellType;
@property (nonatomic, strong)   UILabel         *timeLabel;
@property (nonatomic, strong)   UIImageView     *avatarImageView;
@property (nonatomic, strong)   UIImageView     *balloonView;
@property                       bool            sent;
@property (nonatomic, strong)   UIImageView     *giftImageView;
@property (nonatomic, strong)   UILabel         *taxtLabel;
@property                       int             iRow;
@property (nonatomic,strong)    UILabel         *StateLabel;

-(id)initMessagingCellWithReuseIdentifier:(NSString*)reuseIdentifier;
+(CGFloat)maxTextWidth;
-(UIImage*)balloonImage:(BOOL)sent;
-(CGSize)textSize:(NSString*)text;

@end
